import request from '@/utils/request';

export async function reqTyWesternMedicineList(data: any, options?: any): Promise<any> {
	return request('/api/sys/westernMedicine/list', {
		method: 'POST',
		data,
		...(options || {}),
	});
}

export async function reqAddTyWesternMedicine(data: any, options?: any): Promise<any> {
	return request('/api/sys/westernMedicine/create', {
		method: 'POST',
		data,
		...(options || {}),
	});
}

export async function reqUpdateTyWesternMedicine(data: any, options?: any): Promise<any> {
	return request('/api/sys/westernMedicine/update', {
		method: 'POST',
		data,
		...(options || {}),
	});
}

export async function reqDeleteTyWesternMedicine(data: any, options?: any): Promise<any> {
	return request('/api/sys/westernMedicine/delete', {
		method: 'POST',
		data,
		...(options || {}),
	});
}


